package com.bluedot.bank.dao.account;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

import com.bluedot.bank.dao.customer.Customer;
import com.bluedot.bank.dao.exchangerecord.ExchangeRecord;

public class Account implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private long id;
	private String password;
	private String type;
	private String description;
	private double begin_balance;
	private double balance;
	private Date begin_balance_time;
	private Date balance_time;
	private Customer customer;
	private Set<ExchangeRecord> exchangeRecords;
	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @return the begin_balance
	 */
	public double getBegin_balance() {
		return begin_balance;
	}
	/**
	 * @param begin_balance the begin_balance to set
	 */
	public void setBegin_balance(double begin_balance) {
		this.begin_balance = begin_balance;
	}
	/**
	 * @return the balance
	 */
	public double getBalance() {
		return balance;
	}
	/**
	 * @param balance the balance to set
	 */
	public void setBalance(double balance) {
		this.balance = balance;
	}
	/**
	 * @return the begin_balance_time
	 */
	public Date getBegin_balance_time() {
		return begin_balance_time;
	}
	/**
	 * @param begin_balance_time the begin_balance_time to set
	 */
	public void setBegin_balance_time(Date begin_balance_time) {
		this.begin_balance_time = begin_balance_time;
	}
	/**
	 * @return the balance_time
	 */
	public Date getBalance_time() {
		return balance_time;
	}
	/**
	 * @param balance_time the balance_time to set
	 */
	public void setBalance_time(Date balance_time) {
		this.balance_time = balance_time;
	}
	/**
	 * @return the customer
	 */
	public Customer getCustomer() {
		return customer;
	}
	/**
	 * @param customer the customer to set
	 */
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	/**
	 * @return the exchangeRecords
	 */
	public Set<ExchangeRecord> getExchangeRecords() {
		return exchangeRecords;
	}
	/**
	 * @param exchangeRecords the exchangeRecords to set
	 */
	public void setExchangeRecords(Set<ExchangeRecord> exchangeRecords) {
		this.exchangeRecords = exchangeRecords;
	}

}
